package cn.fjsay.java.demo4;

public class SumCalculatorTest {
    public static void main(String[] args) {
        SumCalculator calculator = new SumCalculator();

        int result1 = calculator.add(5, 10);
        System.out.println(result1);

        double result2 = calculator.add(3.5, 2.7);
        System.out.println(result2);

        double result3 = calculator.add(2, 4, 6);
        System.out.println(result3);
    }
}
